<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>上传状态</title>
    <style>
        body { font-family: Arial, sans-serif; padding: 20px; }
        .message { color: #2c3e50; padding: 15px; border-radius: 4px; margin: 20px 0; }
        .success { background: #dff0d8; border: 1px solid #d6e9c6; }
        .error { background: #f2dede; border: 1px solid #ebccd1; }
    </style>
</head>
<body>
    <h1>上传结果</h1>
    <div class="message" th:classappend="${message.contains('失败') ? 'error' : 'success'}" th:text="${message}"></div>
    <a href="/">返回上传</a>
</body>
</html>
    